package com.ruoyi.domain;

import java.math.BigDecimal;
import java.util.Date;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 论文对象 yc_thesis
 *
 * @author 杨琛
 * @date 2020-09-09
 */
public class YcThesis extends BaseEntity {
    private static final long serialVersionUID = 1L;

    /**
     * id
     */
    private Long id;

    /**
     * 序号
     */
    @Excel(name = "序号")
    private Long serialNumber;

    /**
     * 期刊名称
     */
    @Excel(name = "期刊名称")
    private String journalName;

    /**
     * CN/ISSN
     */
    @Excel(name = "CN/ISSN")
    private String cnIssn;

    /**
     * 期刊类别
     */
    @Excel(name = "期刊类别")
    private String journalCategories;

    /**
     * 论文名称
     */
    @Excel(name = "论文名称")
    private String paperTitle;

    /**
     * 第一作者
     */
    @Excel(name = "第一作者")
    private String firstAuthor;

    /**
     * 发表时间
     */
    @Excel(name = "发表时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date postedTime;

    /**
     * 位次
     */
    @Excel(name = "位次")
    private String precedence;

    /**
     * 赋分
     */
    @Excel(name = "赋分")
    private BigDecimal assignPoints;

    /**
     * 奖励
     */
    @Excel(name = "奖励")
    private BigDecimal award;

    /**
     * 备案
     */
    @Excel(name = "备案")
    private Integer onRecords;

    /**
     * 上传人
     */
    @Excel(name = "上传人")
    private String proposer;

    /**
     * 上传文件
     */
    @Excel(name = "上传文件")
    private String filesUpload;

    /**
     * 审批
     */
    @Excel(name = "审批")
    private Integer status;

    public Long getUserId() {
        return userId;
    }

    public void setUserId(Long userId) {
        this.userId = userId;
    }

    /**
     * 用户id
     */
    @Excel(name = "用户id")
    private Long userId;

    public void setId(Long id) {
        this.id = id;
    }

    public Long getId() {
        return id;
    }

    public void setSerialNumber(Long serialNumber) {
        this.serialNumber = serialNumber;
    }

    public Long getSerialNumber() {
        return serialNumber;
    }

    public void setJournalName(String journalName) {
        this.journalName = journalName;
    }

    public String getJournalName() {
        return journalName;
    }

    public void setCnIssn(String cnIssn) {
        this.cnIssn = cnIssn;
    }

    public String getCnIssn() {
        return cnIssn;
    }

    public void setJournalCategories(String journalCategories) {
        this.journalCategories = journalCategories;
    }

    public String getJournalCategories() {
        return journalCategories;
    }

    public void setPaperTitle(String paperTitle) {
        this.paperTitle = paperTitle;
    }

    public String getPaperTitle() {
        return paperTitle;
    }

    public void setFirstAuthor(String firstAuthor) {
        this.firstAuthor = firstAuthor;
    }

    public String getFirstAuthor() {
        return firstAuthor;
    }

    public void setPostedTime(Date postedTime) {
        this.postedTime = postedTime;
    }

    public Date getPostedTime() {
        return postedTime;
    }

    public void setPrecedence(String precedence) {
        this.precedence = precedence;
    }

    public String getPrecedence() {
        return precedence;
    }

    public void setAssignPoints(BigDecimal assignPoints) {
        this.assignPoints = assignPoints;
    }

    public BigDecimal getAssignPoints() {
        return assignPoints;
    }

    public void setAward(BigDecimal award) {
        this.award = award;
    }

    public BigDecimal getAward() {
        return award;
    }

    public void setOnRecords(Integer onRecords) {
        this.onRecords = onRecords;
    }

    public Integer getOnRecords() {
        return onRecords;
    }

    public void setProposer(String proposer) {
        this.proposer = proposer;
    }

    public String getProposer() {
        return proposer;
    }

    public void setFilesUpload(String filesUpload) {
        this.filesUpload = filesUpload;
    }

    public String getFilesUpload() {
        return filesUpload;
    }

    public void setStatus(Integer status) {
        this.status = status;
    }

    public Integer getStatus() {
        return status;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this, ToStringStyle.MULTI_LINE_STYLE)
                .append("id", getId())
                .append("serialNumber", getSerialNumber())
                .append("journalName", getJournalName())
                .append("cnIssn", getCnIssn())
                .append("journalCategories", getJournalCategories())
                .append("paperTitle", getPaperTitle())
                .append("firstAuthor", getFirstAuthor())
                .append("postedTime", getPostedTime())
                .append("precedence", getPrecedence())
                .append("assignPoints", getAssignPoints())
                .append("award", getAward())
                .append("onRecords", getOnRecords())
                .append("proposer", getProposer())
                .append("filesUpload", getFilesUpload())
                .append("status", getStatus())
                .append("userId", getUserId())
                .toString();
    }
}
